﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using BMS.Utilities;

namespace BMS.Models
{
    public class ExcelModel
    {
        public PDF_QuotationInvoiceModel Data { set; get; }
        public String ExcelSrcPathForGeneralTemplate { set; get; }
        public String ExcelDestPath { get; set; }
        public String ExcelFileName { get; set; }
        public int MaxNoOfRecords { get; set; }
        public String CompanyLogoPath { get; set; }
        public List<InvoiceItemModel> InvoiceItems { get; set; }

        public ExcelModel()
        {
            ExcelSrcPathForGeneralTemplate = Configuration.ExcelSrcPathForAllCompanies;
            ExcelDestPath = Configuration.ExcelAndPDFDestPath;
            MaxNoOfRecords = Configuration.MaxNoOfRecords;
            CompanyLogoPath = Configuration.CompanyLogoPath;
        }
    }
}